package com.lanxin.xx.service.impl;

import com.lanxin.xx.entity.XxXiaoxijieshou;
import com.lanxin.xx.mapper.XxXiaoxijieshouMapper;
import com.lanxin.xx.service.IXxXiaoxijieshouService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author zyq
 * @since 2025-07-26
 */
@Service
public class XxXiaoxijieshouServiceImpl extends ServiceImpl<XxXiaoxijieshouMapper, XxXiaoxijieshou> implements IXxXiaoxijieshouService {

    @Autowired
    private XxXiaoxijieshouMapper xiaoxijieshouMapper;

    //更新消息接受的状态为已读
    @Override
    public int updateStatus(Integer oid) {
        return xiaoxijieshouMapper.updateStatus(oid);
    }
}
